﻿using System;
using Fjaspx.UI.Web;

namespace Fjaspx.UCenter
{
    public partial class Administrator_user_login_ : UserPage
    {
        /// <summary>
        /// Handles the Load event of the Page control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                string MexBoxContent = Fjaspx.Common.SystemCms.Read_File(Server.MapPath("~/app_templet/SystemTemplate/login.htm"), "utf-8");
                MexBoxContent = MexBoxContent.Replace("{$webname}", ___WebConfig.web_name);
                MexBoxContent = MexBoxContent.Replace("{$logo}", ___WebConfig.logo);
                Response.Write(MexBoxContent);
                
            }
        }
    }
}